package cn.lg.soar.generator.model;

import lombok.Getter;
import lombok.Setter;

/**
 * @author luguoxiang 469599794@qq.com
 * @Date: 2024/1/2 15:32
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
@Getter
@Setter
public class Import {

    private ClassInfo baseEntity;

    private ClassInfo baseMapper;

    private ClassInfo baseService;

    private ClassInfo baseServiceImpl;

    private ClassInfo baseController;

    public void setBaseEntity(Class<?> clzz) {
        this.baseEntity = new ClassInfo(clzz);
    }

    public void setBaseMapper(Class<?> clzz) {
        this.baseMapper = new ClassInfo(clzz);
    }

    public void setBaseService(Class<?> clzz) {
        this.baseService = new ClassInfo(clzz);
    }

    public void setBaseServiceImpl(Class<?> clzz) {
        this.baseServiceImpl = new ClassInfo(clzz);
    }

    public void setBaseController(Class<?> clzz) {
        this.baseController = new ClassInfo(clzz);
    }

}
